<script type="text/javascript">
<!--
function demands_new(){
	var width = 700;
   	var height = 700;
   	var left = parseInt((screen.availWidth/2) - (width/2));
   	var top = parseInt((screen.availHeight/2) - (height/2));
   	var windowFeatures = "width=" + width + ",height=" + height + ",status,resizable,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top + ",scrollbars=yes";
   	myWindow = window.open('<?php echo site_url(); ?>/demands/nJ', 'demands_new', windowFeatures);
	myWindow.focus();
}
//-->
</script>
<a href="#" onclick="demands_new();" class="tool_item">
	<img class="button" border="0" align="middle" title="<?php echo $this->lang->line('NEW');?>"; src="<?php echo base_url(); ?>public/img/icons/new.gif"/>
</a>